    @Test(expected = IllegalArgumentException.class)
    public void createCreationFactoryOnParametrisedMethodWithNullParam() throws Exception {

        HashMap<String, Object> pathParameterValues = new HashMap<>();
        pathParameterValues.put("id", null);
        ServiceProviderFactory.createCreationFactory(FAKE_BASE, pathParameterValues,
                FakeService.class.getMethod("fakeCreationFactoryWithId"));
    }