expectcomponent, expectView