I need to check if a java String contains a substring in my tests.
This doesn't work because java strings are not collections:
(deftest test_8
(testing "get page from sputnik"
(let [
band "Isis"
page (get-sputnikpage-for-artist band)
]
(is (contains? band "Isis")))));does NOT work
Is there a way to convert java strings into collections? Or can I check for substring occurences in other ways?