public function assertEditNodeOfType($type)
    {
        $node = (object) array(
        'type' => $type,
        'title' => "Test $type",
        );
        $saved = $this->nodeCreate($node);

        // Set internal browser on the node edit page.
        $this->getSession()->visit($this->locatePath('/node/' . $saved->nid . '/edit'));

        // Test status.
        $this->assertSession()->statusCodeEquals('200');
    }