Nikky
09/06/2018, 4:50 PMit("Object should contain two keys") {
assertEquals(after.keys.size, 2, "Object should contain two keys")
}
it("Object should contain mapping 'foo': 'bar'") {
assertEquals(after["foo"], JsonPrimitive("bar"), "Object should contain mapping 'foo': 'bar'")
}
it("Object should contain mapping 'baz': 'bux'") {
assertEquals(after["baz"], JsonPrimitive("bux"), "Object should contain mapping 'baz': 'bux'")
}
it("Object shouldn't contain keys that weren't defined") {
assertNull(after["bar"], "Object shouldn't contain keys that weren't defined")
}