example with mock template class