### Question:
DirectoryFactory { public DirectoryClient makeDirectoryClient() { return new BasicDirectoryClient(directoryId, transport); } DirectoryFactory(Transport transport, UUID directoryId); DirectoryClient makeDirectoryClient(); ServiceClient makeServiceClient(String serviceId);  }### Answer:
@Test public void testMakeDirectoryClientReturnsClient() throws Exception { assertThat( directoryFactory.makeDirectoryClient(), instanceOf(DirectoryClient.class) ); }