@Test
public void testSaveAllStubConfigurations() throws TransformerException, JsonTransformationException {

    //GIVEN
    given(stubResourceHolder.getActualStubConfigJsonObject(TEST_KEY)).willReturn(jsonObject);
    //WHEN
    underTest.saveAllStubConfigurations(descriptors);
    //THEN
    verify(stubResourceHolder).getActualStubConfigJsonObject(TEST_KEY);
    verify(documentTransformer).transformToFile(jsonObject, TEST_PATH + "/" + 1 + STUB_CONFIG_JSON_POSTFIX, true);
}