### Question:
IntentFactory { public void start(IntentFactoryStrategy parameters) { Intent intent = buildIntent(parameters); parameters.start(context, intent); } @Inject  IntentFactory(Context context); protected  IntentFactory(Context context, IntentAdapterFactory intentMockFactory); void start(IntentFactoryStrategy parameters); Intent buildIntent(IntentFactoryStrategy parameters); PendingIntent buildPendingIntent(IntentFactoryStrategy parameters); PendingIntent buildPendingIntent(int requestCode, IntentFactoryStrategy parameters); PendingIntent buildPendingIntent(int requestCode, int flags, IntentFactoryStrategy parameters);  }### Answer:
@Test public void testStart(){ Mockito.when(intentMockFactory.buildIntent(mockContext, mockStrategy.getTargetContext())).thenReturn(mockIntent); intentFactory.start(mockStrategy); Mockito.verify(mockIntent).putExtras(mockStrategy.getExtras()); Mockito.verify(mockStrategy).start(mockContext, mockIntent); }