public void ImplementationException_Constructor() { const string message = "Implementation Exception"; var implementationException = new ImplementationException(message); Assert.AreEqual(message, implementationException.Message); }
public void ImplementationException_ConstructorWithFormat() { const string format = "Implementation Exception for {0}, {1}"; var args = new string[] { "Role1", "Role2" }; var implementationException = new ImplementationException(format, args); Assert.AreEqual(string.Format(format, args), implementationException.Message); }
public void ImplementationException_ConstructorWithNull() { var implementationException = new ImplementationException(null); Assert.IsNotNull(implementationException.Message); }