def METHOD_NAME(
    self, mock_create_logical, mock_create_extended, mock_create_primary
):
    self.partitioner.create('name', 100, 't.linux')
    mock_create_primary.assert_called_once_with(
        'name', 100, 't.linux', []
    )
    mock_create_primary.reset_mock()
    self.partitioner_extended.create('name', 100, 't.linux')
    mock_create_primary.assert_called_once_with(
        'name', 100, 't.linux', []
    )
    self.partitioner_extended.partition_id = 3
    self.partitioner_extended.create('name', 100, 't.linux')
    mock_create_extended.assert_called_once_with('name')
    mock_create_logical.assert_called_once_with(
        'name', 100, 't.linux', []
    )
    mock_create_logical.reset_mock()
    self.partitioner_extended.partition_id = 7
    self.partitioner_extended.create('name', 100, 't.linux')
    mock_create_logical.assert_called_once_with(
        'name', 100, 't.linux', []
    )