private void AdjustStructureIfIsInDictionary(Vector3Int?neighborGridPosition, Vector3Int neighborPositionInt)
 {
     if (RoadManager.CheckIfNeighborHasRoadWithinDictionary(neighborPositionInt, _structuresToBeModified))
     {
         RevokeRoadPlacementAt(neighborPositionInt);
         var neighborStructure = RoadManager.GetCorrectRoadPrefab(neighborGridPosition.Value, _structureData, _structuresToBeModified, _grid);
         PlaceNewRoadAt(neighborStructure, neighborGridPosition.Value, neighborPositionInt);
     }
 }
        public void RoadManagerTestsCheckIfNeighbourIsRoadInDictionaryFalse()
        {
            var dictionary = new Dictionary <Vector3Int, GameObject>();
            var position   = new Vector3Int(3, 0, 6);

            dictionary.Add(position, _roadStraight);
            var result = RoadManager.CheckIfNeighborHasRoadWithinDictionary(new Vector3Int(6, 0, 6), dictionary);

            Assert.IsFalse(result);
        }