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

testProductWishListForm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
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
}