/src/Ninject.Extensions.Interception.Test/AutoNotifyPropertyClassProxyContextDynamicProxy2.cs
https://github.com/hereyes/ninject.extensions.interception · C# · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · 5bf1677cf012b7e127e312b176e4dafe MD5 · raw file
- 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();
- }
- }
- }