Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Add coverage to JsonSchemaFileParserFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
mapingo committed Feb 13, 2018
1 parent 7c09d56 commit ddf25a4
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package uk.gov.justice.maven.generator.io.files.parser;

import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

import javax.json.JsonObject;

import org.junit.Test;

public class JsonSchemaFileParserFactoryTest {

@Test
public void shouldCreateJsonSchemaFileParser() throws Exception {

final FileParser<JsonObject> jsonObjectFileParser = new JsonSchemaFileParserFactory().create();

assertThat(jsonObjectFileParser, is(instanceOf(JsonSchemaFileParser.class)));
}

}

0 comments on commit ddf25a4

Please sign in to comment.