@Test
public void testStatementToJson() {

	Statement s = Datamodel.makeStatement(ItemIdValue.NULL,
			Datamodel.makeNoValueSnak(Datamodel.makeWikidataPropertyIdValue("P1")),
			Collections.emptyList(), Collections.emptyList(),
			StatementRank.NORMAL, "MyId");
	String json = "{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P1\",\"snaktype\":\"novalue\"},\"type\":\"statement\"}";
	JsonComparator.compareJsonStrings(json, JsonSerializer.getJsonString(s));
}