import static org.junit.Assert.assertThat;
public class PropertyUnmarshallerTest extends UnmarshallerTestCase {
@Test
public void toModel() {
Property property = new PropertyUnmarshaller().toModel("[]");
assertThat(property, nullValue());
property = new PropertyUnmarshaller().toModel(loadFile("/properties/single.json"));
assertThat(property.getKey(), is("myprop"));
assertThat(property.getValue(), is("myvalue"));
}