public void Find() { dynamic result = DynamicViewPoint.Find(id); Assert.That(result, Is.Not.Null); Assert.That(result.Id, Is.EqualTo(id)); Assert.That(result.Location, Is.EqualTo(location)); }
public void FindWithStringArg() { Assert.Throws <RuntimeBinderException>(() => DynamicViewPoint.Find("200")); }
public void FindByWithNamedAndPositional() { Assert.Throws <RuntimeBinderException>(() => DynamicViewPoint.Find(id, Id: 200)); }
public void FindWithSetId() { Assert.Throws <RuntimeBinderException>(() => DynamicViewPoint.Find(SetId: id)); }