Skip to content
Snippets Groups Projects
Commit a7e86afd authored by felmer's avatar felmer
Browse files

LMS-2587 Satisfy compiler on Hudson

SVN: 23419
parent 41a6ea3e
No related branches found
No related tags found
No related merge requests found
...@@ -42,12 +42,12 @@ public class TestReportNodeDialog ...@@ -42,12 +42,12 @@ public class TestReportNodeDialog
{ {
private static final class Dialog extends ReportNodeDialog private static final class Dialog extends ReportNodeDialog
{ {
private final IQueryApiFacade facade; private final IQueryApiFacade queryApiFacade;
Dialog() Dialog()
{ {
Mockery context = new Mockery(); Mockery context = new Mockery();
facade = context.mock(IQueryApiFacade.class); final IQueryApiFacade facade = context.mock(IQueryApiFacade.class);
final IGeneralInformationService service = final IGeneralInformationService service =
context.mock(IGeneralInformationService.class); context.mock(IGeneralInformationService.class);
context.checking(new Expectations() context.checking(new Expectations()
...@@ -86,12 +86,13 @@ public class TestReportNodeDialog ...@@ -86,12 +86,13 @@ public class TestReportNodeDialog
return new DataSet(initializer); return new DataSet(initializer);
} }
}); });
queryApiFacade = facade;
} }
@Override @Override
protected IQueryApiFacade createFacade() protected IQueryApiFacade createFacade()
{ {
return facade; return queryApiFacade;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment