Generate a mock struct from a trait. The mock struct will be named after the trait, with “Mock” appended.