Search in sources :

Example 6 with AssertFf4j

use of org.ff4j.test.AssertFf4j in project ff4j by ff4j.

the class FeatureStoreTestSupport method setUp.

/**
 * {@inheritDoc}
 */
@Before
public void setUp() throws Exception {
    ff4j = new FF4j();
    ff4j.setFeatureStore(initStore());
    testedStore = ff4j.getFeatureStore();
    assertFf4j = new AssertFf4j(ff4j);
    assertFf4j.setPause(enablePause());
}
Also used : AssertFf4j(org.ff4j.test.AssertFf4j) FF4j(org.ff4j.FF4j) Before(org.junit.Before)

Example 7 with AssertFf4j

use of org.ff4j.test.AssertFf4j in project ff4j by ff4j.

the class FeatureStoreJCacheTest method setUp.

/**
 * {@inheritDoc}
 */
@Before
public void setUp() throws Exception {
    ff4j = new FF4j();
    ff4j.setFeatureStore(initStore());
    testedStore = ff4j.getFeatureStore();
    assertFf4j = new AssertFf4j(ff4j);
}
Also used : AssertFf4j(org.ff4j.test.AssertFf4j) FF4j(org.ff4j.FF4j) Before(org.junit.Before)

Aggregations

AssertFf4j (org.ff4j.test.AssertFf4j)7 Before (org.junit.Before)6 FF4j (org.ff4j.FF4j)4 FeatureStore (org.ff4j.core.FeatureStore)1 InMemoryPropertyStore (org.ff4j.property.store.InMemoryPropertyStore)1 InMemoryFeatureStore (org.ff4j.store.InMemoryFeatureStore)1 TestConstantsFF4j (org.ff4j.test.TestConstantsFF4j)1 FF4JSecurityContextAuthenticationManager (org.ff4j.web.api.security.FF4JSecurityContextAuthenticationManager)1 Test (org.junit.Test)1