use of com.djrapitops.plan.commands.use.ColorScheme in project Plan by plan-player-analytics.
the class PlanPluginMocker method mockPlugin.
private PlanPluginMocker mockPlugin() {
planMock = Mockito.mock(PlanPlugin.class);
super.planMock = planMock;
doReturn(new ColorScheme("§1", "§2", "§3")).when(planMock).getColorScheme();
return this;
}
use of com.djrapitops.plan.commands.use.ColorScheme in project Plan by plan-player-analytics.
the class PlanNukkitMocker method mockPlugin.
private PlanNukkitMocker mockPlugin() {
planMock = Mockito.mock(PlanNukkit.class);
super.planMock = planMock;
doReturn(new ColorScheme("§1", "§2", "§3")).when(planMock).getColorScheme();
cn.nukkit.plugin.PluginLogger mockedLogger = Mockito.mock(cn.nukkit.plugin.PluginLogger.class);
doReturn(mockedLogger).when(planMock).getLogger();
return this;
}
use of com.djrapitops.plan.commands.use.ColorScheme in project Plan by plan-player-analytics.
the class PlanFabricMocker method mockPlugin.
private PlanFabricMocker mockPlugin() {
planMock = Mockito.mock(PlanFabric.class);
super.planMock = planMock;
doReturn(new ColorScheme("§1", "§2", "§3")).when(planMock).getColorScheme();
return this;
}
use of com.djrapitops.plan.commands.use.ColorScheme 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;
}
use of com.djrapitops.plan.commands.use.ColorScheme in project Plan by plan-player-analytics.
the class PlanVelocityMocker method mockPlugin.
private PlanVelocityMocker mockPlugin() {
planMock = Mockito.mock(PlanVelocity.class);
super.planMock = planMock;
doReturn(new ColorScheme("§1", "§2", "§3")).when(planMock).getColorScheme();
return this;
}
Aggregations