質問編集履歴
1
フォーマット修正
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### 対象のソースコード)
|
|
6
6
|
|
|
7
|
+
```
|
|
7
8
|
<?
|
|
8
9
|
class Sample_Model_Service_A
|
|
9
10
|
{
|
|
@@ -45,8 +46,9 @@
|
|
|
45
46
|
}
|
|
46
47
|
?>
|
|
47
48
|
|
|
49
|
+
```
|
|
48
50
|
### 現状書いているテストコード)
|
|
49
|
-
|
|
51
|
+
```
|
|
50
52
|
public function testsetResult()
|
|
51
53
|
{
|
|
52
54
|
// とりあえず途中まで動くように定義
|
|
@@ -62,4 +64,5 @@
|
|
|
62
64
|
|
|
63
65
|
// アサート
|
|
64
66
|
$this->assertSame($result);
|
|
65
|
-
}
|
|
67
|
+
}
|
|
68
|
+
```
|