        {:language "java"
         :solution "public class FooFighters {public static int main() {return 1;}}"})
       (is (= 1 (-main))))))
+
 
 (deftest java-solution-print
   (testing "-main can handle a java solution that prints to standard out"

            [codewars.core :refer [-main] :as core]
            [codewars.test.utils :refer :all]
            [cheshire.core :as json]))

(deftest java-basic
  (testing "-main can handle a very basic java solution and fixture"

        (is (.contains test-out-string "<DESCRIBE::>solutionAndSetupAndFixture(NineYards)<:LF:>"))
        (is (.contains test-out-string "test out"))
        (is (.contains test-out-string "<PASSED::>Test Passed<:LF:>"))))))

(deftest codewars-kumite-test
  (testing "Can handle a simple static export"
    (with-in-str
      (json/generate-string
       {:language "java"
        :solution "public class Java {
                     public static int multiply(int x, int y) { return x * y; } }"
        :fixture "import org.junit.*;

                  public class JavaTest{
                    @Test
                    public final void testMultiply() {
                      Assert.assertEquals(\"The two values should multiply together\", 50, Java.multiply(10, 5));
                    }
                  }"})
      (let [test-out-string (with-java-out-str (-main))]
        (is (.contains test-out-string "<DESCRIBE::>testMultiply(JavaTest)<:LF:>"))
        (is (.contains test-out-string "<PASSED::>Test Passed<:LF:>"))))))
