public void WhenResolveTimeStampGenerator_ThenResult_ShouldBeAsExpectedType() { var resolver = new MessageIdGeneratorResolver(); IMessageIdGenerator actual = resolver.Resolve(MessageIdGeneratortype.Timestamp); Assert.IsType <TimestampMessageIdGenerator>(actual); }
public void WhenResolveMd5Generator_ThenResult_ShouldBeAsExpectedType() { var resolver = new MessageIdGeneratorResolver(); IMessageIdGenerator actual = resolver.Resolve(MessageIdGeneratortype.Md5); Assert.IsType <Md5MessageIdGenerator>(actual); }