@Test void alwaysDisplayButton() { when(this.configurationSource.getProperty("alwaysDisplayButton", false)).thenReturn(false); assertFalse(this.defaultLikeConfiguration.alwaysDisplayButton()); when(this.configurationSource.getProperty("alwaysDisplayButton", false)).thenReturn(true); assertTrue(this.defaultLikeConfiguration.alwaysDisplayButton()); }
@Override public boolean alwaysDisplayButton() { return this.configurationSource.getProperty("alwaysDisplayButton", false); }
DefaultLikeConfiguration implements LikeConfiguration { @Override public boolean alwaysDisplayButton() { return this.configurationSource.getProperty("alwaysDisplayButton", false); } }
DefaultLikeConfiguration implements LikeConfiguration { @Override public boolean alwaysDisplayButton() { return this.configurationSource.getProperty("alwaysDisplayButton", false); }  }
DefaultLikeConfiguration implements LikeConfiguration { @Override public boolean alwaysDisplayButton() { return this.configurationSource.getProperty("alwaysDisplayButton", false); }  @Override boolean alwaysDisplayButton(); @Override int getLikeCacheCapacity(); }
DefaultLikeConfiguration implements LikeConfiguration { @Override public boolean alwaysDisplayButton() { return this.configurationSource.getProperty("alwaysDisplayButton", false); }  @Override boolean alwaysDisplayButton(); @Override int getLikeCacheCapacity();  }