### Question:
ResourceConverterImpl implements ResourceConverter<ResourceType, ClientType> { public String getServerResourceType() { return serverResourceTypeExtractor.getServerResourceType(); } 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 getServerResourceType() { ResourceConverterImpl<Folder, ClientFolder> folderConverter = new ResourceConverterImpl<Folder, ClientFolder>() { @Override protected Folder resourceSpecificFieldsToServer(ClientFolder clientObject, Folder resultToUpdate, List<Exception> exceptions, ToServerConversionOptions options) throws IllegalParameterValueException, MandatoryParameterNotFoundException { return resultToUpdate; } @Override protected ClientFolder resourceSpecificFieldsToClient(ClientFolder client, Folder serverObject, ToClientConversionOptions options) { return client; } }; final String extractedResourceName = folderConverter.getServerResourceType(); assertEquals(extractedResourceName, Folder.class.getName()); ResourceConverterImpl<?, ?> rawConverter = new ResourceConverterImpl() { @Override protected Resource resourceSpecificFieldsToServer(ClientResource clientObject, Resource resultToUpdate, List exceptions, ToServerConversionOptions options) throws IllegalParameterValueException, MandatoryParameterNotFoundException { return resultToUpdate; } @Override protected ClientResource resourceSpecificFieldsToClient(ClientResource client, Resource serverObject, ToClientConversionOptions options) { return client; } }; IllegalStateException exception = null; try { rawConverter.getServerResourceType(); } catch (IllegalStateException ex) { exception = ex; } assertNotNull(exception); }