public void ByteAt_AddressInvalid_Throws(int address) { var ex = Assert.Throws <ArgumentOutOfRangeException>(() => logo.ByteAt(address)); ex.Message.Should().Contain("positive number"); ex.ParamName.Should().Be("address"); }