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