check usage scenario before using context
stubs