private void ShouldGenerateBase64String() { const string testString = "dGhpcyBpcyBhIHN0cmluZwo="; var testStringByte = EncryptorHelper.GetByteFromBase64(testString); EncryptorHelper.GetBase64FromByte(testStringByte).Should().Be(testString); }