Static pattern and use same pattern in unit test