org.puremvc.php
[ class tree: org.puremvc.php ] [ index: org.puremvc.php ] [ all elements ]

Class: ProxyTest

Source Location: /org/puremvc/php/patterns/proxy/ProxyTest.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --ProxyTest

Test the PureMVC Proxy class.


Author(s):

Methods



Class Details

[line 17]
Test the PureMVC Proxy class.



Tags:

see:  org.puremvc.php.patterns.proxy.Proxy Proxy
see:  org.puremvc.php.interfaces.IProxy IProxy


[ Top ]


Class Methods


constructor __construct [line 43]

ProxyTest __construct( )

Constructs the test case.



Tags:

access:  public


[ Top ]

method setUp [line 27]

void setUp( )

Prepares the environment before running a test.



Tags:

access:  protected


[ Top ]

method tearDown [line 35]

void tearDown( )

Cleans up the environment after running a test.



Tags:

access:  protected


[ Top ]

method testConstructor [line 77]

void testConstructor( )

Tests setting the name and body using the Notification class Constructor.



Tags:

access:  public


[ Top ]

method testDataAccessors [line 60]

void testDataAccessors( )

Tests setting and getting the data using Proxy class accessor methods.



Tags:

access:  public


[ Top ]

method testNameAccessor [line 48]

void testNameAccessor( )

Tests getting the name using Proxy class accessor method. Setting can only be done in constructor.



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 29 Sep 2008 15:06:19 -0700 by phpDocumentor 1.4.0