assert that the HasPartsMixin's __init__ was called