/src/Ninject.Extensions.Interception.Test/AutoNotifyPropertyClassProxyContextDynamicProxy2.cs
C# | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | 5bf1677cf012b7e127e312b176e4dafe MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, MPL-2.0-no-copyleft-exception
- namespace Ninject.Extensions.Interception
- {
- using Castle.DynamicProxy;
- using FluentAssertions;
- using Xunit;
-
- public class AutoNotifyPropertyClassProxyContextDynamicProxy2 :
- AutoNotifyPropertyClassProxyContext<DynamicProxyModule>
- {
- [Fact]
- public void WhenAutoNotifyAttributeIsAttachedToAClass_TheObjectIsProxied()
- {
- typeof(IProxyTargetAccessor).IsAssignableFrom(ViewModel.GetType()).Should().BeTrue();
- }
- }
- }