/src/Ninject.Extensions.Interception.Test/AutoNotifyPropertyClassProxyContextLinFu.cs
C# | 19 lines | 17 code | 2 blank | 0 comment | 0 complexity | 83e55c1c4b47096a1eeb2bd9c917b816 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, MPL-2.0-no-copyleft-exception
- #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