methods: Add a gtest method