Unit test for this public method