public void AddBehaviorToNonAvatarThrows() { var avatar = new object(); Func <string?> method = ToString; Assert.Throws <ArgumentException>(() => avatar.AddBehavior(new TestBehavior())); }
public void AddBehaviorToNonAvatarThrows() { var avatar = new object(); Func <string?> method = ToString; Assert.Throws <ArgumentException>(() => avatar.AddBehavior(new TestBehavior())); }