@Test public void shouldLookUpShadowClassesByNamingConvention() throws Exception { ShadowMap map = new ShadowMap.Builder().build(); assertThat(map.get(android.support.v4.widget.CursorAdapter.class)).isNull(); }
@Test public void shouldNotReturnMismatchedClassesJustBecauseTheSimpleNameMatches() throws Exception { ShadowMap map = new ShadowMap.Builder().build(); assertThat(map.get(CursorAdapter.class).shadowClassName) .isEqualTo(ShadowCursorAdapter.class.getName()); }