Won't these come out slightly differently one windows because of the file separator?

Also, there is the HavePrintedMatcher, which might make this a little less "stubby".