21 lines
439 B
C++
21 lines
439 B
C++
/*
|
|
* StubbingContext.hpp
|
|
* Copyright (c) 2014 Eran Pe'er.
|
|
*
|
|
* This program is made available under the terms of the MIT License.
|
|
*
|
|
* Created on Oct 20, 2014
|
|
*/
|
|
#pragma once
|
|
|
|
#include "fakeit/Xaction.hpp"
|
|
|
|
namespace fakeit {
|
|
|
|
// For use in Fake & When phrases
|
|
template<typename R, typename ... arglist>
|
|
struct StubbingContext : public Xaction {
|
|
virtual void appendAction(Action<R, arglist...> *action) = 0;
|
|
};
|
|
}
|