public void IsTargeted_OnDirectPath_ReturnsTrue() { _positionSystem.DirectPath(Arg.Any <MapCoordinate>(), Arg.Any <MapCoordinate>()).Returns(new List <MapCoordinate> { new MapCoordinate("Map", 1, -1), new MapCoordinate("Map", 2, -2), new MapCoordinate("Map", 3, -3), new MapCoordinate("Map", 4, -4), new MapCoordinate("Map", 5, -5) }); _targetingActivity.TargetingData.HitCellsOnPath = true; _targetingActivity.CurrentTarget = new MapCoordinate("Map", 5, -5); _targetingActivity.TargetingData.CellsHit = new VectorList { new Vector(0, 0) }; _targetingActivity.GetTargetingStatus(new MapCoordinate("Map", 1, -1)).Should().Be(TargetingStatus.Targeted); }