tests/unit/Subjects/AbstractSubjectTest.php
/**
     * Test the set/getStoreViewCode() method without a default value.
     *
     * @return
     */
Test the set/getStoreViewCode() method without a default value.
@return
Test the set / getStoreViewCode () method without a default value . @return
public function testSetGetStoreViewCode()
    {
        $this->abstractSubject->setStoreViewCode(StoreViewCodes::ADMIN);
        $this->assertSame(StoreViewCodes::ADMIN, $this->abstractSubject->getStoreViewCode());
    }
public function testSetGetStoreViewCode ( ) { $ this -> abstractSubject -> setStoreViewCode ( StoreViewCodes :: ADMIN ) ; $ this -> assertSame ( StoreViewCodes :: ADMIN , $ this -> abstractSubject -> getStoreViewCode ( ) ) ; }
Test the set/getStoreViewCode() method without a default value.
Test the set / getStoreViewCode () method without a default value .
// set a store view code and query if it will be returned