@Test
public void objectSchema() {

    ObjectSchema actual = (ObjectSchema) SchemaLoader.load(get("objectSchema"));
    assertNotNull(actual);
    Map<String, Schema> propertySchemas = actual.getPropertySchemas();
    assertEquals(2, propertySchemas.size());
    assertEquals(BooleanSchema.INSTANCE, propertySchemas.get("boolProp"));
    Assert.assertFalse(actual.permitsAdditionalProperties());
    assertEquals(2, actual.getRequiredProperties().size());
    assertEquals(2, actual.getMinProperties().intValue());
    assertEquals(3, actual.getMaxProperties().intValue());
}