@Test
public void testTypeName() {

    assertThat(typeName(new File("testMe.json")),
            is(equalTo("testMe")));
    assertThat(typeName(new File("c:/testMe.json")),
            is(equalTo("testMe")));
    assertThat(typeName(new File("/opt/tomcat/webapps/data/mongodb-schemas/teststore/testMe.json")),
            is(equalTo("testMe")));
}