code looks like so atm ``` it("Object should conta...
# spek
n
code looks like so atm
Copy code
it("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")
        }