From ddb93fd988a44591f45f11c1bce6c1dfc5dfe1bc Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 24 May 2013 14:45:33 +1000 Subject: [PATCH] That was an easy test - just had time to write --- .../test/java/net/md_5/bungee/util/CaseInsensitiveTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proxy/src/test/java/net/md_5/bungee/util/CaseInsensitiveTest.java b/proxy/src/test/java/net/md_5/bungee/util/CaseInsensitiveTest.java index 67ce8b15..c5058450 100644 --- a/proxy/src/test/java/net/md_5/bungee/util/CaseInsensitiveTest.java +++ b/proxy/src/test/java/net/md_5/bungee/util/CaseInsensitiveTest.java @@ -20,6 +20,9 @@ public class CaseInsensitiveTest @Test public void testSets() { - throw new UnsupportedOperationException( "Need a unit test!!!" ); + CaseInsensitiveSet set = new CaseInsensitiveSet(); + + set.add( "FOO" ); + Assert.assertTrue( set.contains( "foo" ) ); } }