Completed
Pull Request — master (#1)
by Nic
09:01
created

ProductWishListControllerExtensionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 26
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testProductWishListForm() 0 5 1
1
<?php
2
3
/**
4
 * Class ProductWishListControllerExtensionTest
5
 */
6
class ProductWishListControllerExtensionTest extends FunctionalTest
7
{
8
9
    /**
10
     * @var string
11
     */
12
    public static $fixture_file = 'product-wishlist/tests/fixtures.yml';
13
14
    /**
15
     * @var array
16
     */
17
    protected $extraDataObjects = [
18
        'TestWishListPage',
19
        'TestProductWishList',
20
    ];
21
22
    /**
23
     *
24
     */
25
    public function testProductWishListForm()
26
    {
27
        $controller = new TestWishListPage_Controller($this->objFromFixture('TestWishListPage', 'one'));
28
        $this->assertInstanceOf('Form', $controller->ProductWishListForm());
29
    }
30
31
}