コード例 #1
0
        public void if_a_token_is_ProfileViewToken_it_resolves_to_the_inner_token()
        {
            var theInner = MockRepository.GenerateMock <IViewToken>();
            var theToken = new ProfileViewToken(theInner, "filtered name");

            theToken.Resolve().ShouldBeTheSameAs(theInner);
        }
コード例 #2
0
 public void SetUp()
 {
     theInner = MockRepository.GenerateMock <IViewToken>();
     theToken = new ProfileViewToken(theInner, "filtered name");
 }