def METHOD_NAME(self):
    disk_provider = Mock()
    disk_provider.get_device = Mock(
        return_value='/dev/loop0'
    )
    self.partitioner = PartitionerMsDos(disk_provider, 4096)
    self.partitioner_extended = PartitionerMsDos(
        disk_provider, extended_layout=True
    )