to 3 assertThat("foobarbaz", containsString("bar")) // assertThat("foobarbaz", containsString("bla")) // GOT: "foobarbaz", EXPECTED: contains "bla" let array = ["foo", "bar"] assertThat(array, hasCount(2)) // assertThat(array, contains("foo", "bar")) // assertThat(array, contains(equalTo("foo"), equalTo("bar"))) // assertThat(array, contains(equalTo("foo"))) // GOT: [foo, bar] (unmatched item "bar"), // EXPECTED: a sequence containing equal to foo var optional: Int = 1 + 1 assertThat(optional, present()) // assertThat(optional, nilValue()) // GOT: Optional(2), EXPECTED: nil