boolean canFilterPlayer(String playerName)
	{
		boolean isMessageFromSelf = playerName.equals(client.getLocalPlayer().getName());
		return !isMessageFromSelf &&
			(config.filterFriends() || !client.isFriended(playerName, false)) &&
			(config.filterFriendsChat() || !isFriendsChatMember(playerName)) &&
			(config.filterClanChat() || !isClanChatMember(playerName));
	}
@Test
	public void testMessageFromFriendsChatIsNotFiltered()
	{
		when(friendsChatManager.findByName("B0aty")).thenReturn(mock(FriendsChatMember.class));
		when(chatFilterConfig.filterFriendsChat()).thenReturn(false);
		assertFalse(chatFilterPlugin.canFilterPlayer("B0aty"));
	}