Created
June 27, 2011 21:03
-
-
Save joelhooks/1049834 to your computer and use it in GitHub Desktop.
MatcherFunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public function toParamObject_returnsGenericObjectWithCorrectPropertyValues_objectIsEqual():void | |
{ | |
var paramObject:Object; | |
var task:Task = new Task("testTask"); | |
task.description = "task description"; | |
task.statusId = 1; | |
task.taskId = 1; | |
paramObject = task.toParamObject(); | |
assertThat(task, hasProperties(paramObject)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment