public void ConvertToSymbolic_WhenCalledWithWrongData_ShouldThrow(int cord1, int cord2) { var pos = (cord1, cord2); var symbolic = TestedService.Invoking(x => x.ConvertToSymbolic(pos)); symbolic.Should().Throw <ConvertToSymbolicException>().WithMessage($"Coords {cord1} {cord2} are invalid"); }