@Before public void setUp() throws Exception { fakeServer = GetFakeServer(); fakePlayer = GetOnlinePlayer(fakeServer); env.getEnv(CommandHelperEnvironment.class).SetPlayer(fakePlayer); StaticTest.InstallFakeConvertor(fakePlayer); Static.InjectPlayer(fakePlayer); }
@Before public void setUp() throws Exception { fakePlayer = StaticTest.GetOnlinePlayer(); StaticTest.InstallFakeConvertor(fakePlayer); Static.InjectPlayer(fakePlayer); }