public void OnlyAppliesToType_ICookieStorage() { var binder = new CookieStoragePropertyBinder(); var model = new CookieRequestModel(); binder.Matches(model.GetType().GetProperty("Cookies")).ShouldBeTrue(); binder.Matches(model.GetType().GetProperty("NotCookies")).ShouldBeFalse(); }