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