@Test public void getClient_shouldReturnLostApiClient() throws Exception { LostApiClient client = factory.getClient(mock(Context.class)); assertThat(client.getClass()).isEqualTo(LostApiClientImpl.class); }
@Override public LostApiClient getClient(Context context) { return new LostApiClient.Builder(context).build(); }
LostApiClientFactory implements ApiClientFactory { @Override public LostApiClient getClient(Context context) { return new LostApiClient.Builder(context).build(); } }
LostApiClientFactory implements ApiClientFactory { @Override public LostApiClient getClient(Context context) { return new LostApiClient.Builder(context).build(); }  }
LostApiClientFactory implements ApiClientFactory { @Override public LostApiClient getClient(Context context) { return new LostApiClient.Builder(context).build(); }  @Override LostApiClient getClient(Context context); }
LostApiClientFactory implements ApiClientFactory { @Override public LostApiClient getClient(Context context) { return new LostApiClient.Builder(context).build(); }  @Override LostApiClient getClient(Context context);  }