void (String text, final String after) { configureFile(text); final TestRepository repository = configureRepository(); repository.setTasks(new LocalTaskImpl("TEST-001", "Test task") { @Override public TaskRepository getRepository() { return repository; } @Override public boolean isIssue() { return true; } }); myFixture.completeBasic(); myFixture.checkResult(after); }