### Question:
CommonService { public <T> T getProperty(Property<T> property) { return settings.getProperty(property); } CommonService(); T getProperty(Property<T> property); void send(CommandSender sender, MessageKey key); void send(CommandSender sender, MessageKey key, String... replacements); String retrieveSingleMessage(CommandSender sender, MessageKey key); boolean hasPermission(Player player, PermissionNode node);  }### Answer:
@Test public void shouldGetProperty() { given(settings.getProperty(SecuritySettings.CAPTCHA_LENGTH)).willReturn(8); int result = commonService.getProperty(SecuritySettings.CAPTCHA_LENGTH); verify(settings).getProperty(SecuritySettings.CAPTCHA_LENGTH); assertThat(result, equalTo(8)); }