<?php

use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

/* 
 * Functional tests for the forgot password screen
 */
class ForgotPasswordFunctionalTest extends TestCase
{
	/**
	 * Checks that the user is given an easy, explicit route back to the login page
	 */
	public function checkRememberedPasswordAfterAll()
	{
		
	}

	/**
	 * Checks that the submission of an empty email address results in an error
	 */
	public function testSubmitEmptyEmail()
	{
		
	}

	/**
	 * Test that the submission of an invalid email results in an error
	 * 
	 * Valid means "contains exactly one @ symbol, and at least one dot in the domain part"
	 */
	public function testInvalidEmail()
	{
		
	}

	/**
	 * Test that the submission of a valid email results in a success message
	 * 
	 * Note there is no distinction between addresses that exist and those that do not.
	 * 
	 * In test mode, no actual email should be sent, though we cannot test for this.
	 */
	public function testValidEmail()
	{
		
	}
}
<?php

use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

/* 
 * Functional tests for the forgot password screen
 */
class ForgotPasswordFunctionalTest extends TestCase
{
	/**
	 * Checks that viewing the forgot password screen is not possible if logged in
	 */
	public function checkRedirectAndErrorIfLoggedIn()
	{
		
	}

	/**
	 * Checks that the user is given an easy, explicit route back to the login page
	 */
	public function checkRememberedPasswordAfterAllLinkExists()
	{
		
	}

	/**
	 * Checks that the submission of an empty email address results in an error
	 */
	public function testSubmitEmptyEmail()
	{
		
	}

	/**
	 * Test that the submission of an invalid email results in an error
	 * 
	 * Valid means "contains exactly one @ symbol, and at least one dot in the domain part"
	 */
	public function testInvalidEmail()
	{
		
	}

	/**
	 * Test that the submission of a valid email results in a success message
	 * 
	 * Note there is no distinction between addresses that exist and those that do not.
	 * 
	 * In test mode, no actual email should be sent, though we cannot test for this.
	 */
	public function testValidEmail()
	{
		
	}
}
Add another test method skeleton
Add another test method skeleton
