@Test
public void testProcessUploadedFileShouldReturnWhenStubConfigIsValid() throws ClassNotFoundException {

    //GIVEN in setUp
    //WHEN
    String actual = underTest.processUploadedFile(resource, JSON_CONTENT_TYPE, "stub-configuration", FILE_PATH);
    //THEN
    verify(routingService).performModification(Mockito.any(NewStubDescriptorCommand.class));
    assertEquals(actual, "New stub configuration was uploaded to Wilma.");
}