@Test public void enabledOnProperty() throws Exception { System.setProperty(LEGACY_ENABLED, "true"); undertTest = new LegacyUrlEnabledHelper(capabilityRegistry); assertThat(undertTest.isEnabled(), is(equalTo(true))); }
public boolean isEnabled() { return supportLegacyContent || isLegacyUrlCapabilityActive(); }
LegacyUrlEnabledHelper { public boolean isEnabled() { return supportLegacyContent || isLegacyUrlCapabilityActive(); } }
LegacyUrlEnabledHelper { public boolean isEnabled() { return supportLegacyContent || isLegacyUrlCapabilityActive(); } @Inject  LegacyUrlEnabledHelper(final CapabilityRegistry capabilities); }
LegacyUrlEnabledHelper { public boolean isEnabled() { return supportLegacyContent || isLegacyUrlCapabilityActive(); } @Inject  LegacyUrlEnabledHelper(final CapabilityRegistry capabilities); boolean isEnabled(); }
LegacyUrlEnabledHelper { public boolean isEnabled() { return supportLegacyContent || isLegacyUrlCapabilityActive(); } @Inject  LegacyUrlEnabledHelper(final CapabilityRegistry capabilities); boolean isEnabled();  }