@patch('businesslogic.placeholders.Placeholder._initialize_global_placeholders')
@patch('instructionparsers.xmlparser.XmlParser._init_instructions')
@patch('instructionparsers.xmlparser.path.isfile')
@patch('instructionparsers.xmlparser.XmlParser._validate_schema')
@patch('instructionparsers.xmlparser.XmlParser._initializemetadata')
def test_instructionspath(self, placeholder_mock, xmlparser_mock, isfile_mock, schema_mock, initmetadata_mock):
    '\n        Will return the instructions file path set in __init__\n        '
    from instructionparsers.xmlparser import XmlParser
    expected_file = 'test_instructions.xml'
    isfile_mock.return_value = True
    xml_parser = XmlParser(instructionspath=expected_file, protocol=None)
    actual_file = xml_parser.instructionspath
    self.assertEqual(expected_file, actual_file)
Will return the instructions file path set in __init__
@patch('businesslogic.placeholders.Placeholder._initialize_global_placeholders')
@patch('instructionparsers.xmlparser.XmlParser._init_instructions')
@patch('instructionparsers.xmlparser.path.isfile')
@patch('instructionparsers.xmlparser.XmlParser._validate_schema')
@patch('instructionparsers.xmlparser.XmlParser._initializemetadata')
def test_instructionspath(self, placeholder_mock, xmlparser_mock, isfile_mock, schema_mock, initmetadata_mock):
    '\n        \n        '
    from instructionparsers.xmlparser import XmlParser
    expected_file = 'test_instructions.xml'
    isfile_mock.return_value = True
    xml_parser = XmlParser(instructionspath=expected_file, protocol=None)
    actual_file = xml_parser.instructionspath
    self.assertEqual(expected_file, actual_file)