﻿  __  __            _    ____            
 |  \/  |          | |  |  _ \           
 | \  / | ___   ___| | _| |_) | _____  __
 | |\/| |/ _ \ / __| |/ /  _ < / _ \ \/ /
 | |  | | (_) | (__|   <| |_) | (_) >  < 
 |_|  |_|\___/ \___|_|\_\____/ \___/_/\_\ v2.2.0.00076
                                         
********************************************************************************
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
www.coldbox.org | www.luismajano.com | www.ortussolutions.com
********************************************************************************
HONOR GOES TO GOD ABOVE ALL
********************************************************************************
Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.

"Therefore being justified by faith, we have peace with God through our Lord Jesus Christ:
By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God.
And not only so, but we glory in tribulations also: knowing that tribulation worketh patience;
And patience, experience; and experience, hope:
And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the 
Holy Ghost which is given unto us. ." Romans 5:5

********************************************************************************
MOCKBOX LICENSE
********************************************************************************
MockBox is open source and bound to the Apache License, Version 2.0. If you use MockBox, 
please try to make mention of it in your code or web site or add a Powered By ColdBox/MockBox icon.  
Please donate, this project lives thanks to your donations.

Please Read The Official License Agreement:
http://www.coldbox.org/about/license

The ColdBox Websites, logo and content have a separate license and they are a separate entity.

********************************************************************************
OPEN SOURCE INITIATIVE APPROVED
********************************************************************************
This software is Open Source Initiative approved Open Source Software.
Open Source Initiative Approved is a trademark of the Open Source Initiative.

********************************************************************************
MOCKBOX IMPORTANT LINKS
********************************************************************************
Bug Tracking
- https://ortussolutions.atlassian.net/browse/MOCKBOX
Documentation
- http://wiki.coldbox.org/wiki/MockBox.cfm
Blog
- http://blog.coldbox.org
Official Site
- http://www.coldbox.org
Official Bug Email
- bugs@coldbox.org
Official Info Email
- info@coldbox.org

********************************************************************************
MOCKBOX INSTALLATION
********************************************************************************
You can visit the MockBox documentation page to view all of its features and 
capabilities.  To install MockBox just drop it in your web root as '/mockbox' or
create a mapping in your CFML administrator or Application.cfc that points to the
directory you installed MockBox and create the mapping '/mockbox' that points to it.

MockBox Documentation
http://wiki.coldbox.org/wiki/MockBox.cfm

ColdBox Documentation
http://wiki.coldbox.org

********************************************************************************
SYSTEM REQUIREMENTS
********************************************************************************
- Railo 2.0 and above
- ColdFusion 8.X and above
- Open BlueDragon 7.X and above

********************************************************************************
CHANGELOG
********************************************************************************
== Version 2.0 ==
* https://coldbox.assembla.com/spaces/coldbox/milestones/2120293-mockbox-2-0

== Version 1.3 ==
http://coldbox.assembla.com/spaces/coldbox/milestones/187465-mockbox-1-3

* 1003	addition of $atMost() and $atLeast() call count verifications to the $verifyCallCount methods
* 1057	mocking argument normalization, diff expectations when name-value or positional argument calling.
* 1140	new alias verification: $never([methodName]) to check if no interactions have been made on mock or specific method
* 1142	new alias verification: $once([methodName]) to check if the mock has been called one time or a specific method name
* 1144	change all mock methods to their $ name equivalents on the MockBox CFC so they are documented like so.
* 1145	New method $reset() to give you the ability to clear all mocking counters and loggers, useful for quick resets

== Version 1.2 ==
* Added new method: $verifyCallCount(count,[methodName]) that can assert how many times
a component's methods have been called, or how many times a specific method has been called.
Basically, it returns a boolean according to the passed expected count calls.
* mockMethodCallCount() the methodname is now optional and it will return to you the TOTAL
number of calls that have been made for ALL methods in the mocked CFC.

== Version 1.1 ==
* Refactoring for standalone so it is in its own namespace: mockbox.
* Addition of the query simulator: querySim()
Ex: 
querySim("id, name
1 | luis
2 | joe
");
== Version 1.0 (November, 2009) ==

* Initial release of MockBox
* Ability to create mocks with or without methods cleared: createMock(), createEmptyMock()
* Ability to get debugging information about a mock object: obj.$debug() or obj.mockDebug()
* Ability to get call loggers about method calls to assert inspecting parameters.

----

AS ALWAYS, VISIT THE WIKI FOR THE LATEST DOCUMENTATION
 
== THE DAILY BREAD ==

 "I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" John 14:1-12