<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>TDD on Guowei Lv</title>
    <link>https://www.lvguowei.me/categories/tdd/</link>
    <description>Recent content in TDD on Guowei Lv</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 25 Apr 2018 21:50:47 +0300</lastBuildDate><atom:link href="https://www.lvguowei.me/categories/tdd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to AssertThat Two Objects Are Equal</title>
      <link>https://www.lvguowei.me/post/how-to-assertthat-two-objects-are-equal/</link>
      <pubDate>Wed, 25 Apr 2018 21:50:47 +0300</pubDate>
      
      <guid>https://www.lvguowei.me/post/how-to-assertthat-two-objects-are-equal/</guid>
      <description>The answer to this question is easy:
assertThat(a, is(b))
Done.
Wait, before closing this web page, let me ask you a few questions.
First, let&amp;rsquo;s make a concrete class Student.
public class Student { public final String name; public final int age; public final String id; public Student(String name, int age, String id) { this.name = name; this.age = age; this.id = id; } } Very simple data class. Now let&amp;rsquo;s try the solution in the beginning of the article.</description>
    </item>
    
  </channel>
</rss>
