source: class ContextScopeTest {
  
      @Test
      public void shouldHaveTwoItemsInScopeMapAfterOnCreate() throws Exception {
  
target:         final ActivityController<B> bController = Robolectric.buildActivity(B.class);
          final B b = bController.get();
  
          assertThat(b.getScopedObjectMap().size(), equalTo(0));
          bController.create();
  
          boolean found=false;
          for( Object o : b.getScopedObjectMap().values() )
              if( o==b )
                  found = true;
  
          assertTrue("Couldn't find context in scope map", found);
          assertTrue(b.getScopedObjectMap().containsKey(Key.get(C.class)));
      }
  
  }