Issue 443: Initial commit

Created mock method and corresponding unit test.