public void ToString_WithoutIndexParameters() { var signature = new PropertySignature(typeof(string), Type.EmptyTypes); Assert.That(signature.ToString(), Is.EqualTo("System.String()")); }
public void ToString_WithIndexParameters() { var signature = new PropertySignature(typeof(string), new[] { typeof(double), typeof(int) }); Assert.That(signature.ToString(), Is.EqualTo("System.String(System.Double,System.Int32)")); }