#76502Replace @expectedException with codewise test in ext:recordlist
Description
Instead of using the @expectedException Annotation we strive to use the code wise test self::expectException() and especially take care to take the exception code in account. Those need to be unique in the system anyways.