test apply invocation Pattern