KafkaMirrorMaker2AssemblyOperatorPodSetTest has a large number of duplicated lines for setting up mocks.
Create a shared methods for setting up the mocks to reduce the duplications. This will make it easier to maintain the test code (updates to mock setup only need to be made in one place) and improve readability (the most of the lines in each test is for setting up mocks).
KafkaMirrorMaker2AssemblyOperatorPodSetTest has a large number of duplicated lines for setting up mocks.
Create a shared methods for setting up the mocks to reduce the duplications. This will make it easier to maintain the test code (updates to mock setup only need to be made in one place) and improve readability (the most of the lines in each test is for setting up mocks).