public void DefaultVerbResolverTest() { var get = new DefaultVerbResolver(new DefaultCachedStringTokenizer()).ResolveVerb("Get"); var put = new DefaultVerbResolver(new DefaultCachedStringTokenizer()).ResolveVerb("Put"); var post = new DefaultVerbResolver(new DefaultCachedStringTokenizer()).ResolveVerb("Post"); var del = new DefaultVerbResolver(new DefaultCachedStringTokenizer()).ResolveVerb("Delete"); var bananas = new DefaultVerbResolver(new DefaultCachedStringTokenizer()).ResolveVerb("BananasBananas"); Assert.AreEqual(get, Verb.GET); Assert.AreEqual(put, Verb.PUT); Assert.AreEqual(post, Verb.POST); Assert.AreEqual(del, Verb.DELETE); Assert.AreEqual(bananas, Verb.GET); }