@After public void after() { reqRepo.deleteAll(); userRepo.deleteAll(); versRepo.deleteAll(); sciRepo.deleteAll(); }
@Then( "^the system stores the new feature request \"([^\"]*)\" for the head version \"([^\"]*)\" of \"([^\"]*)\" with solution \"([^\"]*)\"$") public void the_system_stores_the_new_feature_request_for_the_head_version_of_with_solution( String arg1, String arg2, String arg3, String arg4) throws Throwable { Request r = reqRepo.findByProblem(arg1); Assert.isTrue(r.getProblem().equals(arg1)); Assert.isTrue(r.getVersion().getVersion().equals(arg2)); Assert.isTrue(r.getSolution().equals(arg4)); }