@Test
public void onCreateApiLevelIs10() {

  when(myEditor.getMinSdkVersion()).thenReturn(new AndroidVersion(10, null));
  myHandler.onCreate(myEditor, null, newChild, InsertType.CREATE);
  Mockito.verify(newChild).setAttribute(ANDROID_URI, "actionViewClass", "android.support.v7.widget.SearchView");
}