How could DNA-mediated transformation be used to test chemicals for

How could DNA-mediated transformation be used to test chemicals for their mutagenic activity?