public void WhenCallingCanReadShouldBeAbleToReadTypesItUnderstands() { var formatter = new ProtoBufFormatter(); var canRead = formatter.CanReadType(typeof(Item)); Assert.True(canRead); }
public void WhenCallingCanReadShouldNotBeAbleToReadTypesItDoesNotUnderstand() { var formatter = new ProtoBufFormatter(); var canRead = formatter.CanReadType(typeof(EvilItem)); Assert.False(canRead); }
public void WhenCallingCanReadShouldNotBeAbleToReadTypesItDoesNotUnderstand() { var formatter = new ProtoBufFormatter(); var canRead = formatter.CanReadType(typeof (EvilItem)); Assert.False(canRead); }