I have an XML file hw.xml
that contains hardware info for a node.
<node hostname="my_hostname">
<volume raid="RAID-10">
....
....
</volume>
</node>
how to mock the xml file such that it should fail the test cases if raid attribute is not equal to RAID-10?