Skip to content

Commit

Permalink
#980 test removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Jan 12, 2015
1 parent 0d5f5d8 commit 56b871b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/test/java/com/jcabi/github/RepoCommitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,6 @@
* @checkstyle MultipleStringLiterals (500 lines)
*/
public class RepoCommitTest {
/**
* RepoCommit.Smart can fetch message property from RepoCommit.
* @throws Exception If some problem inside
*/
@Test
public final void fetchesType() throws Exception {
final RepoCommit commit = Mockito.mock(RepoCommit.class);
final String prop = "this is some message";
Mockito.doReturn(
Json.createObjectBuilder()
.add("message", prop)
.build()
).when(commit).json();
MatcherAssert.assertThat(
new RepoCommit.Smart(commit).message(),
Matchers.is(prop)
);
}

/**
* RepoCommit.Smart can fetch url property from RepoCommit.
Expand Down

0 comments on commit 56b871b

Please sign in to comment.