stub mock by assignment