/src/Ninject.Extensions.Interception.Test/AutoNotifyPropertyMethodInterceptorContextLinFu.cs
https://github.com/hereyes/ninject.extensions.interception · C# · 19 lines · 17 code · 2 blank · 0 comment · 0 complexity · b3345810986525e0f2c4f5e28874f1dc MD5 · raw file
- #if !SILVERLIGHT
- namespace Ninject.Extensions.Interception
- {
- using FluentAssertions;
- using LinFu.DynamicProxy;
- using Xunit;
-
- public class AutoNotifyPropertyMethodInterceptorContextLinFu
- : AutoNotifyPropertyMethodInterceptorContext<LinFuModule>
- {
- [Fact]
- public void WhenAutoNotifyAttributeIsAttachedToAProperty_TheObjectIsProxied()
- {
- typeof(IProxy).IsAssignableFrom(ViewModel.GetType()).Should().BeTrue();
- }
- }
- }
- #endif