58 lines
1.7 KiB
HTML
58 lines
1.7 KiB
HTML
|
<?xml version="1.0" ?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<title>Peace::Test::Mock::Model::Build - Mock object for Peace::Model::Build.</title>
|
||
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
||
|
<link href="mailto:Alpine@build-edge-aarch64.nonet" rev="made" />
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
|
||
|
|
||
|
<ul id="index">
|
||
|
<li><a href="#NAME">NAME</a></li>
|
||
|
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
|
||
|
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
|
||
|
<li><a href="#INSTANCE-METHODS">INSTANCE METHODS</a>
|
||
|
<ul>
|
||
|
<li><a href="#new">new</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
|
||
|
</ul>
|
||
|
|
||
|
<h1 id="NAME">NAME</h1>
|
||
|
|
||
|
<p>Peace::Test::Mock::Model::Build - Mock object for Peace::Model::Build.</p>
|
||
|
|
||
|
<h1 id="SYNOPSIS">SYNOPSIS</h1>
|
||
|
|
||
|
<pre><code>my $build = Peace::Test::Mock::Model::Build->new;</code></pre>
|
||
|
|
||
|
<h1 id="DESCRIPTION">DESCRIPTION</h1>
|
||
|
|
||
|
<p>Peace::Test::Mock::Model::Build aims to reduce repeated code which doesn't bring new things to tests by avoiding to add long lines in order to create a <a href="../../../Model/Build.pm.html">Peace::Model::Build</a> object on a unrelated tests by providing a stub already created object.</p>
|
||
|
|
||
|
<h1 id="INSTANCE-METHODS">INSTANCE METHODS</h1>
|
||
|
|
||
|
<p>Peace::Test::Mock::Model::Build provides the following instance methods:</p>
|
||
|
|
||
|
<h2 id="new">new</h2>
|
||
|
|
||
|
<pre><code>my $build = Peace::Test::Mock::Model::Build->new;</code></pre>
|
||
|
|
||
|
<p>Instances a <a href="../../../Model/Build.pm.html">Peace::Model::Build</a> mock object.</p>
|
||
|
|
||
|
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
||
|
|
||
|
<p><a href="../../../Model/Build.pm.html">Peace::Model::Build</a></p>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
|
||
|
|