use of utilities.mocks.objects.TestLogger in project Plan by plan-player-analytics.
the class PlanBungeeMocker method mockPlugin.
private PlanBungeeMocker mockPlugin() {
planMock = Mockito.mock(PlanBungee.class);
super.planMock = planMock;
doReturn(new ColorScheme("§1", "§2", "§3")).when(planMock).getColorScheme();
TestLogger testLogger = new TestLogger();
doReturn(testLogger).when(planMock).getLogger();
return this;
}
Aggregations