@@ -26,10 +26,10 @@ void setUp() {
2626 ScamBlockerConfig scamConfig = mock (ScamBlockerConfig .class );
2727 when (config .getScamBlocker ()).thenReturn (scamConfig );
2828
29- when (scamConfig .getSuspiciousKeywords ()). thenReturn ( Set . of ( "nitro" , "boob" , "sexy" , "sexi" ,
30- "esex " , "steam " , "gift " , "onlyfans " , "bitcoin " , "btc " , "promo " , "trader" , "trading " ,
31- "whatsapp " , "crypto " , "claim " , "teen " , "adobe " , "hack " , "steamcommunity " ,
32- "freenitro " , "usd " , "^earn" , ".exe" ));
29+ when (scamConfig .getSuspiciousKeywords ())
30+ . thenReturn ( Set . of ( "nitro " , "boob " , "sexy " , "sexi " , "esex " , "steam " , "gift " , "onlyfans " ,
31+ "bitcoin " , "btc " , "promo " , "trader " , "trading " , "whatsapp " , "crypto" , "claim " ,
32+ "teen " , "adobe" , "hack" , "steamcommunity" , "freenitro " , "^earn" , ".exe" ));
3333 when (scamConfig .getHostWhitelist ()).thenReturn (Set .of ("discord.com" , "discord.media" ,
3434 "discordapp.com" , "discordapp.net" , "discordstatus.com" ));
3535 when (scamConfig .getHostBlacklist ()).thenReturn (Set .of ("bit.ly" , "discord.gg" , "teletype.in" ,
@@ -243,6 +243,8 @@ private static List<String> provideRealScamMessages() {
243243 private static List <String > provideRealFalsePositiveMessages () {
244244 return List
245245 .of ("""
246- https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/anonymous-types""" );
246+ https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/anonymous-types""" ,
247+ """
248+ And according to quick google search. Median wage is about $23k usd""" );
247249 }
248250}
0 commit comments