---
title: "Mockito特点"
author: "flash7783"
date: "2010-08-30T10:02:21Z"
tags: []
categories: ["研发管理"]
slug: "mockito"
draft: false
lastmod: "2010-08-30T10:02:21Z"
id: 750473
url: "https://flash7783.iteye.com/blog/750473"
---

1\. 只能使用jdk1.5以上，因为它的方便是用jdk1.5的泛型换来的

2\. 不能mock "static method","final method","new"，这没办法，简单易用的mock库基本上都有这缺陷。