/** TDD */ @Test public void testAOPClass() { // Given english mode Assert.assertTrue(wholeClassFlipping.hello1().startsWith("Hello")); Assert.assertTrue(wholeClassFlipping.hello2().startsWith("Big")); // when ff4j.enable("language-french"); // Then Assert.assertTrue(wholeClassFlipping.hello1().startsWith("Francais")); Assert.assertTrue(wholeClassFlipping.hello2().startsWith("Tour")); }