diff options
Diffstat (limited to 'validate/sample-mock-generator/src')
-rw-r--r-- | validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java index ffc7c7e3..780ad695 100644 --- a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java +++ b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java @@ -25,7 +25,9 @@ import java.io.FileWriter; public class MockJsonGenerator { private static Gson gson = new GsonBuilder().serializeNulls().create(); - + private MockJsonGenerator() { + throw new IllegalStateException("Utility class"); + } public static void generateMocking(MockRequest mockRequest, MockResponse mockResponse, String jsonFilePath) throws IOException { MockObject mockObject = new MockObject(); |