1 // Copyright 2008 The Android Open Source Project 2 3 package android.test.mock; 4 5 import android.content.DialogInterface; 6 7 /** 8 * A mock {@link android.content.DialogInterface} class. All methods are non-functional and throw 9 * {@link java.lang.UnsupportedOperationException}. Override it to provide the operations that you 10 * need. 11 */ 12 public class MockDialogInterface implements DialogInterface { cancel()13 public void cancel() { 14 throw new UnsupportedOperationException("not implemented yet"); 15 } 16 dismiss()17 public void dismiss() { 18 throw new UnsupportedOperationException("not implemented yet"); 19 } 20 } 21