PlatformAccess { public void releasePlatform() { platform.set(null); }  static Platform getPlatform(); void setPlatform(Platform aPlatform); void releasePlatform();  }
@Test(dependsOnMethods="testSetPlatform") public void testReleasePlatform() { PlatformAccess access = new PlatformAccess(); access.releasePlatform(); Assert.assertNull(PlatformAccess.getPlatform()); }