def METHOD_NAME(self):
    objs = [command_context.JobContext, command_context.JobRunContext]
    output = command_context.build_filled_context(*objs)
    assert isinstance(output.base, objs[1])
    assert isinstance(output.next.base, objs[0])
    assert not output.next.next