BrakePedal.Tests.MemoryThrottleRepositoryTests.ThrottleCacheItemTests.HasSerializableAttribute C# (CSharp) Method

HasSerializableAttribute() private method

private HasSerializableAttribute ( ) : void
return void
            public void HasSerializableAttribute()
            {
                // Arrange
                var type = typeof(MemoryThrottleRepository.ThrottleCacheItem);

                // Act
                var result = type.IsDefined(typeof(SerializableAttribute), false);

                // Assert
                Assert.True(result);
            }
MemoryThrottleRepositoryTests.ThrottleCacheItemTests