Exemplo n.º 1
0
    public void NormalizeEmail_When_Name_Null_Or_Whitespace_Expect_Same_Returned(string email)
    {
        var sut = new NoopLookupNormalizer();

        var normalizedEmail = sut.NormalizeEmail(email);

        Assert.AreEqual(email, normalizedEmail);
    }
Exemplo n.º 2
0
    public void NormalizeEmail_Expect_Input_Returned()
    {
        var email = $"{Guid.NewGuid()}@umbraco";
        var sut   = new NoopLookupNormalizer();

        var normalizedEmail = sut.NormalizeEmail(email);

        Assert.AreEqual(email, normalizedEmail);
    }