### Question:
ResourceConverterImpl implements ResourceConverter<ResourceType, ClientType> { @Override public ClientType toClient(ResourceType serverObject, ToClientConversionOptions options) { final ClientType client = genericFieldsToClient(getNewClientObjectInstance(), serverObject, options); final ClientType resultClient = resourceSpecificFieldsToClient(client, serverObject, options); if (options != null && options.isAllowSecureDataConversation()) { resourceSecureFieldsToClient(resultClient, serverObject, options); } return resultClient; } ResourceConverterImpl(); String getServerResourceType(); @Override ResourceType toServer(ClientType clientObject, ToServerConversionOptions options); @Override ResourceType toServer(ClientType clientObject, ResourceType resultToUpdate, ToServerConversionOptions options); @Override ClientType toClient(ResourceType serverObject, ToClientConversionOptions options); @SuppressWarnings("unchecked") Class<ClientType> getClientTypeClass(); String getClientResourceType();  }### Answer:
@Test public void toClient() { ResourceLookup serverObject = new ResourceLookupImpl(); serverObject.setURIString("/test/uri"); ClientResource expectedClientObject = new ClientFolder(); when(converter.getNewClientObjectInstance()).thenReturn(expectedClientObject); final ToClientConversionOptions options = ToClientConversionOptions.getDefault(); when(converter.toClient(serverObject, options)).thenCallRealMethod(); converter.toClient(serverObject, options); verify(converter).genericFieldsToClient(expectedClientObject, serverObject, options); verify(converter, never()).resourceSecureFieldsToClient(expectedClientObject, serverObject, options); }