import static org.junit.Assert.assertEquals;
import org.json.JSONObject;
+import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
expectedJson.put("color", "black");
expectedJson.put("shape", "box");
SampleClass sample = new SampleClass("black", "box");
- assertEquals(expectedJson.toString(), MapperUtil.writeAsJSONString(sample));
+ Assert.assertEquals(expectedJson.toString(), MapperUtil.writeAsJSONString(sample));
}
@Test